<?php

namespace app\modules\hr;

/**
 * OAuth module definition class
 */
class HrModule extends \yii\base\Module
{
    /**
     * @inheritdoc
     */
    public $controllerNamespace = 'app\modules\hr\controllers';

    /**
     * @inheritdoc
     */
    public function init()
    {
        parent::init();
        $this->modules=[
            'staff' => [
                'class' => 'app\modules\hr\modules\staff\StaffModule',
            ],
            'unit' => [
                'class' => 'app\modules\hr\modules\unit\UnitModule',
            ],
            'position' => [
                'class' => 'app\modules\hr\modules\position\PositionModule',
            ],
            'pick'    => [
                'class' => 'app\modules\hr\modules\pick\PickModule',
            ]
        ];
    }
}
